<template>
  <div @click="doLogin">login</div>
</template>

<script setup lang="ts">
import { useRouter } from 'vue-router'

const router = useRouter()

const doLogin = () => {
  router.push({
    path: '/home',
  })
}
</script>

<style scoped></style>
